package com.baomidou.springboot.controller;

import com.baomidou.springboot.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Ke Zhang on 2018/8/8.
 */
@RestController
public class UserInfoController {

    @Autowired
    private UserInfoService userInfoService;

    @RequestMapping("/get")
    public Object get(){
        return userInfoService.selectAll();
    }
}
